const mongoose = require("mongoose");

const pictureSchema = new mongoose.Schema({
    title: {
        type: String,
        require: true
    },
    photoType: {
        type: String,
        require: true
    },
    author: {
        type: String,
        require: true
    },
    authorPic: {
        type: String,
        require: true
    },
    authorLike: {
        type: String,
        require: true
    },
    photoLink: {
        type: String,
        require: true
    },
    photoDownload: {
        type: String,
        require: true
    },
    photo: {
        type: String,
        require: true
    },
    aspectRatio: {
        type: Number,
        require: true
    }
})
module.exports = pictureSchema